﻿using SellAndBuy.Domain.Entities;
using SellAndBuy.Domain.Repositories;
using SellAndBuy.Infrastructure.Data.Core;
using SellAndBuy.Infrastructure.Data.Core.Repositories;

namespace SellAndBuy.Infrastructure.Data.Repositories
{
    /// <summary>
    /// Item Category repository
    /// </summary>
    public class CategoryRepository : Repository<ItemCategory, int>, ICategoryRepository
    {
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="unitOfWork"></param>
        public CategoryRepository(INhibernateUnitOfWork unitOfWork)
            : base(unitOfWork)
        {
        }
    }
}